Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

event#finish_time loses timezone info when event has a dtstart and duration

#16

Reported by Paul Scott-Murphy, via email

failing spec in event_spec.rb

it "should uset the  timezone of dtstart when event has a duration" do
  @it = RiCal.Event do |evt|
    evt.dtstart = "TZID=Australia/Sydney:20090712T200000"
    evt.duration = "PT1H"
  end
  @it.finish_time.should == DateTime.parse("2009-07-12T21:00:00+10:00")
end

Reported by Rick DeNatale · July 6th, 2009 @ 12:21 PM

State: resolved
Milestone: 0.7.1
Assigned to: Rick DeNatale Rick DeNatale

Activity

  1. Rick DeNatale
    Rick DeNatale
    • State changed from new to resolved

    Fixed in 0.7.1

    July 6th, 2009 @ 12:31 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.